Expand description
The main type you want to look at is Painter
.
If you are writing an app, you may want to look at eframe
instead.
§Feature flags
-
clipboard
— For thewinit
integration: enable cut/copy/paste to os clipboard.if disabled a clipboard will be simulated so you can still copy/paste within the egui app.
-
links
— For thewinit
integration: enable opening links in a browser when an egui hyperlink is clicked. -
puffin
— Enable profiling with thepuffin
crate. -
winit
— Enablewinit
integration. On Linux, requires eitherwayland
orx11
-
wayland
— Enables Wayland support for winit. -
x11
— Enables x11 support for winit.
§Optional dependencies
document-features
— Enable this when generating docs.
Re-exports§
pub use painter::CallbackFn;
pub use painter::Painter;
pub use painter::PainterError;
pub use glow;
pub use winit::*;
Modules§
Macros§
- Check for OpenGL error and report it using
log::error
. - Check for OpenGL error and report it using
log::error
.
Enums§
- Helper for parsing and interpreting the OpenGL shader version.